package com.example;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.time.LocalDateTime;

/**
 * @author zenghy
 **/
@RestController
public class PingController {

    @GetMapping("/ping")
    public String ping() {
        return "pong ".concat(LocalDateTime.now().toString());
    }
}
